<!--header-->
<div app-header left='' center="{{profitInfo.product_name}}" right='' white='true'></div>
<!--header end-->
<div class="mui-content" style="padding-top: 0;top: 45px;padding-bottom: 0;">
	<!--累计收益-->
	<div class="Profit">
		<p>累计收益 (元)</p>
		<h1 ng-bind="profitInfo.intrest_yesterday?(profitInfo.intrest_yesterday|jiequ):profitInfo.intrest_total?(profitInfo.intrest_total|jiequ):'0.00'"></h1>
	</div>
	<!--收益列表-->
	<div class="profit_details">
		<div id="pullrefresh" class="mui-scroll-wrapper" ng-show="profitList.length>0">
			<div class="mui-scroll">
				<!--数据-->
				<ul>
					<li ng-repeat="item in profitList">
						<div class="profit_item"  ng-style="{background:$index==0?'#fb5a5c':'#ccc',width:item.amout_total/max<0.5?'50%':(item.amout_total/max*100)+'%'}"  style="background: #FB5A5C;width: 50%;">
							<span>{{item.trade_time}}</span>
							<span>{{item.amout_total|jiequ}}</span>
							
						</div>
					</li>
					
				</ul>
			</div>
		</div>

		<div style="position:absolute;top: 0;left: 0;right: 0;bottom: 0;text-align: center;align-items: center;display: -webkit-flex;display: flex;justify-content: center;" ng-show="profitList.length==0">
			<div><img src="image/empty/empty_shouyi@2x.png" style="width: 91px;height: 113px;" /><br />
				<p style="margin-top: 20px;">暂无收益</p>
			</div>
		</div>
	</div>
</div>